<?php $this->load->view('layout/header'); ?>
<form name="form1" method="post" action="<?php echo b_url('config/move_action/').$limit['sysmoduleid'];?>" id="form1">
    <div id="container">
        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="table_form">
            <tr class="table_form_title">
                <td colspan="4">
                    移动栏目
                </td>
            </tr>
            <tr class="table_form_row">
                <td align="right" style="width: 15%">
                    移动对象：
                </td>
                <td>
                    <span id="lblClassName"><?php echo $limit['modulename']; ?></span>
                    <input type="hidden" name="sysmoduleid" id="sysmoduleid" value="<?php echo $limit['sysmoduleid']; ?>" />
                </td>
            </tr>
            <tr class="table_form_row">
                <td style="width: 15%" align="right">
                    移动到：
                </td>
                <td>
                    <select name="parentid" id="parentid" size="20">
                        <option <?php echo $class['parentid'] == 0 ? 'selected="selected" ' : ''; ?>value="0">根结点</option>
                        <?php foreach ($tree as $k => $v) { ?>
                            <option value="<?php echo $k; ?>"><?php echo $v; ?></option>
                        <?php } ?>
                    </select>
                </td>
            </tr>
            <tr class="table_form_btn">
                <td align="right">
                    &nbsp;
                </td>
                <td colspan="3">
                    <input type="submit"  value="保存" id="btnSave" />
                    <input type="button"  value="返回" onclick="javascript:history.go(-1);" />
                    <span id="errMsg" style="color:Red;"></span>
                </td>
            </tr>
        </table>
    </div>
</form>
<?php $this->load->view('layout/footer'); ?>
